package com.nervenets.web.controller.handler.admin;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.ApiParams;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class AdminLoginParams extends ApiParams {
    @NeedValidation(type = Type.NOTEMPTY, description = "登录手机号码")
    private String mobile;
    @NeedValidation(type = Type.NOTEMPTY, description = "登录密码")
    private String password;
}
